package com.ezops.models;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "CLIENT_TRADES")
public class ClientTradeFile implements  DomainEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Column(name = "BATCH_ID")
	private int batchId;
	@Column(name = "CLIENT_ID")
	private int clientId;
	@Column(name = "ASSET_ID")
	private int assetId;
	@Column(name = "CLIENT_TRADE_ID")
	private int clientTradeId;
	@Column(name = "ACTION")
	private String action;
	@Column(name = "FILE_NAME")
	private String fileName;
	@Column(name = "STATUS")
	private int status;
	@Column(name = "PROCESSED_DATE")
	private Date processedDate;
	
	@Id
	@Column(name = "EZOPS_ID")
	private int ezopsId;

	public String getId() {
		return String.valueOf(batchId);
	}

	public void setId(int batchId) {
		this.batchId = batchId;
	}

	public int getClientId() {
		return clientId;
	}

	public void setClientId(int clientId) {
		this.clientId = clientId;
	}

	public int getAssetId() {
		return assetId;
	}

	public void setAssetId(int assetId) {
		this.assetId = assetId;
	}

	public int getClientTradeId() {
		return clientTradeId;
	}

	public void setClientTradeId(int clientTradeId) {
		this.clientTradeId = clientTradeId;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getProcessedDate() {
		return processedDate;
	}

	public void setProcessedDate(Date processedDate) {
		this.processedDate = processedDate;
	}

	public int getEzopsId() {
		return ezopsId;
	}

	public void setEzopsId(int ezopsId) {
		this.ezopsId = ezopsId;
	}

}
